package com.hoshiicloud.saleorder.service.customer;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.saleorder.param.customer.ReviewsQueryParam;
import com.hoshiicloud.user.entity.customer.Reviews;

/**
 * <p>
 * 平台商品评价 服务类
 * </p>
 *
 * @author Mr.Wu
 * @since 2019-04-28
 */
public interface IReviewsService extends IService<Reviews> {

    Response insert(Reviews param);

    Response updateDataById(Reviews param);

    Response deleteDataById(String id);

    Response getDetail(String id) throws Exception;

    Response getList(ReviewsQueryParam param);

    Response getPage(IPage<Reviews> page, ReviewsQueryParam param);
}
